package com.mycom.service;

import com.mycom.pojo.Department;
import com.mycom.pojo.DepartmentEmployee;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface DepartmentService {
    /**
     * 查询所有的工作种类
     * @return
     */
    public List<Department> findAll();

    /**
     * 查询所有的部门成员
     * @return
     */
    public List<DepartmentEmployee> findAllDepartmentEmployees();
}
